package com.vnaloha.common.service;

import java.util.List;

import com.vnaloha.common.model.CartItem;
import com.vnaloha.common.model.Orders;

public interface OrdersService {
	public Orders get(int id);

	public boolean save(List<CartItem> cartItems, int customerId, String note, Float total);

	public List<Orders> list();

	public List<Orders> list(int start, int max);

	public boolean delete(int id);
}
